MandelbrotSetIterationCount
MandelbrotSetIterationCount[c] returns the number of iterations of the function f(z)z2+c, beginning with z0, that are needed to determine whether c is in the Mandelbrot set.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.